package com.his.organization.vo;

import com.his.common.verification.group.Update;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Author xiaoxiaoping
 * @Date 2020/2/6 15:18
 * @Version 1.0
 */
@Data
public class OrganizationVo {
    @NotEmpty(message = "机构id不能为空" ,groups = Update.class)
    private String ORGID;
    @NotEmpty(message = "机构名称不能为空")
    private String ORGNAME;

    private String UPID;
    @NotNull(message = "级次不能为空")
    private Integer GRADE;

    private Integer LEAF;

    private String ORGTYPEID;

    private String ORGROLEID;

    private String ORGBILLMODEID;
    @NotNull(message = "实际接受点不能为空")
    private Integer ORGRECEIPTFLAG;

    private String USEDID;

    private String EXTRAID;
    @NotNull(message = "静配中心配药不能为空")
    private Integer USEJP;

    private String ID1;

    private String BATCHID;

    private String ORGADDR;

    private String ORGID1_PATIPAYTYPE;

    private String ORGID2_PATIPAYTYPE;

    private String LIS_ID;

    private String HOSPID;

    private Integer ATTRIBUTE;
}
